package com.bdqn.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 登陆用户实体类
 * @author pidan
 *
 */
public class Users implements Serializable{

	private static final long serialVersionUID = 1L;

	private String loginName;
	
	private String loginPassword;
	
	private String loginAccount;
	
	private String status;
	
	private String role;
	
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createDateTime;
	
	

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPassword() {
		return loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}



	public String getLoginAccount() {
		return loginAccount;
	}

	public void setLoginAccount(String loginAccount) {
		this.loginAccount = loginAccount;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "Users [loginName=" + loginName + ", loginPassword=" + loginPassword + ", loginAccount=" + loginAccount
				+ ", status=" + status + ", role=" + role + ", getLoginName()=" + getLoginName()
				+ ", getLoginPassword()=" + getLoginPassword() + ", getLoginAccount()=" + getLoginAccount()
				+ ", getStatus()=" + getStatus() + ", getRole()=" + getRole() + "]";
	}
	
	
}
